package denkmalVerwaltungstool.GUI;

import java.awt.BorderLayout;

import javax.swing.JPanel;
import javax.swing.JTextArea;

public class LogTab extends JPanel {
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	JTextArea log;
	
	public LogTab(){
		super();
		this.log = new JTextArea("dmWatch Pre-Alpha");
		this.setLayout(new BorderLayout());
		this.add(this.log);
		this.setVisible(true);
		this.log.setSize(640, 480);
		
	}
	
	public void addToLog(String entry)
	{
		this.log.append(entry + "\n");
	}

}
